//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package cn.bgs.vo;

import cn.bgs.pojo.Building;
import cn.bgs.pojo.CellIntermediate;
import cn.bgs.pojo.Floor;
import cn.bgs.pojo.Portal;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(
        value = "Community对象",
        description = ""
)
@Data
public class CommunityVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("小区自增id")
    private Integer communityId;
    @ApiModelProperty("小区名称")
    private String communityName;
    @ApiModelProperty("详情地址")
    private String address;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    @ApiModelProperty("建成时间")
    private LocalDateTime builtTime;
    @ApiModelProperty("（房屋用途（普通住宅、商业用地、商住两用）")
    private String houseUse;
    @ApiModelProperty("小区面积")
    private Double plotArea;
    @ApiModelProperty("楼栋数量")
    private Integer buildingSum;
    @ApiModelProperty("临时停车场车位数量")
    private Integer temporaryCarSum;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    @DateTimeFormat(
            pattern = "yyyy-MM-dd"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;
    @ApiModelProperty("楼栋表")
    private List<Building> buildings;
    @ApiModelProperty("中间表")
    private List<Floor> floors;
    @ApiModelProperty("楼层表")
    private List<CellIntermediate> cellIntermediates;
    @ApiModelProperty("门户表")
    private List<Portal> portals;


}
